
            <div class="row">
                <div class="col-md-12">

                    <!--***** BASIC FORM *****-->
                    <div class="card form" id="form1">
                        <div class="card-header">
                            <h3>新闻编辑</h3>
                        </div>
                        <br>
                        <form action="" method="post">
                            <div class="row">
                                <div class="col-md-6">
                                    <div class="form-group">
                                        <label for="exampleInputEmail1">新闻标题</label>
                                        <input type="text" name="title" class="form-control" id="exampleInputEmail1" 
                                        	aria-describedby="emailHelp" placeholder="新闻标题" value="<?php echo $data['title']?>">
                                    </div>
                                    <div class="form-group">
                                        <label for="exampleInputPassword1">新闻类型</label>
                                        <input type="text" name="type" class="form-control" id="exampleInputPassword1" 
                                        	placeholder="新闻类型" value="<?php echo $data['type']?>">
                                    </div>  
                                    <div class="form-group">
                                        <label for="exampleInputPassword1">作者</label>
                                        <input type="text" name="author" class="form-control" id="exampleInputPassword1" 
                                        	placeholder="作者" value="<?php echo $data['author']?>">
                                    </div>     
                                    <div class="form-group">
                                        <label for="exampleInputPassword1">内容</label>
                                        <textarea  name="content" class="form-control" id="exampleTextarea" rows="3"><?php echo $data['content']?>
                                        </textarea>
                                    </div>  
                                    <div class="form-group">
                                        <label for="exampleInputPassword1">发布者</label>
                                        <input type="text" name="send_user" class="form-control" id="exampleInputPassword1" 
                                        	placeholder="发布者" disabled="" value="<?php echo $data['send_user']?>">
                                    </div>   
                                    <div class="form-group">
                                        <label for="exampleInputPassword1">审核状态</label>
                                        <div class="form-check">
                                            <label class="form-check-label">
                                                <input type="radio" class="form-check-input" name="status" id="optionsRadios1" 
                                                	value="0" <?php echo ($data['status'])?'':'checked';?> > 未审核
                                                		
                                            </label>
                                            <label class="form-check-label">
                                                <input type="radio" class="form-check-input" name="status" id="optionsRadios2" 
                                                	value="1"  <?php echo ($data['status'])?'checked':'';?> >已审核
                                            </label>
                                        </div>
                                    </div>  
                            <button type="submit" class="btn btn-general btn-blue mr-2">提交</button>  
                            
                        </form>
                    </div>


                </div>
            </div>
        </div>

    <!--Core Javascript -->
    <script>
        new Chart(document.getElementById("myChart-nav").getContext('2d'), {
          type: 'doughnut',
          data: {
            labels: ["M", "T", "W", "T", "F", "S", "S"],
            datasets: [{
              backgroundColor: [
                "#2ecc71",
                "#3498db",
                "#95a5a6",
                "#9b59b6",
                "#f1c40f",
                "#e74c3c",
                "#34495e"
              ],
              data: [12, 19, 3, 17, 28, 24, 7]
            }]
          },
          options: {
              legend: { display: false },
              title: {
                display: true,
                text: ''
               } 
            }
        });
    </script>
